package com.example.yskjproject.model;

import java.io.Serializable;
import java.util.List;

/**
 * OrderListModel
 * <p>
 * 作者：zx
 * 创建时间：2024/5/3
 */
public class OrderListModel implements Serializable {


    /**
     * order_list : [{"id":4,"order_sn":"0759f692ce2344f207423ad2f5299d46","user_id":44,"original_price":0,"studio_id":7,"paid_price":100,"paid_at":"0001-01-01 00:00:00","coach_user_id":49,"state":2,"created_at":"2024-04-23 19:02:26","divided_amount":70,"divided_state":0,"divided_time":"","buyer_user":{"id":44,"user_name":"15632279690","nick_name":"15632279690","wx_openid":"oBW2t6P_lncrxmVleAwRo3gfAv6U","wx_unionid":"","mobile":"15632279690","avatar":"http://dummyimage.com/100x100","description":"","sex":0,"height":0,"borthday":"","constellation":"","education":"","address":"","career":"","level":0,"state":0,"status":0},"seller_user":{"id":49,"user_name":"15632279691","nick_name":"15632279691","wx_openid":"oBW2t6P_lncrxmVleAwRo3gfAv6U","wx_unionid":"","mobile":"15632279691","avatar":"http://dummyimage.com/100x100","description":"","sex":0,"height":0,"borthday":"","constellation":"","education":"","address":"","career":"","level":0,"state":0,"status":0}}]
     * total : 1
     */

    private int total;
    private List<OrderListBean> order_list;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<OrderListBean> getOrder_list() {
        return order_list;
    }

    public void setOrder_list(List<OrderListBean> order_list) {
        this.order_list = order_list;
    }

    public static class OrderListBean {
        /**
         * id : 4
         * order_sn : 0759f692ce2344f207423ad2f5299d46
         * user_id : 44
         * original_price : 0
         * studio_id : 7
         * paid_price : 100
         * paid_at : 0001-01-01 00:00:00
         * coach_user_id : 49
         * state : 2
         * created_at : 2024-04-23 19:02:26
         * divided_amount : 70
         * divided_state : 0
         * divided_time :
         * buyer_user : {"id":44,"user_name":"15632279690","nick_name":"15632279690","wx_openid":"oBW2t6P_lncrxmVleAwRo3gfAv6U","wx_unionid":"","mobile":"15632279690","avatar":"http://dummyimage.com/100x100","description":"","sex":0,"height":0,"borthday":"","constellation":"","education":"","address":"","career":"","level":0,"state":0,"status":0}
         * seller_user : {"id":49,"user_name":"15632279691","nick_name":"15632279691","wx_openid":"oBW2t6P_lncrxmVleAwRo3gfAv6U","wx_unionid":"","mobile":"15632279691","avatar":"http://dummyimage.com/100x100","description":"","sex":0,"height":0,"borthday":"","constellation":"","education":"","address":"","career":"","level":0,"state":0,"status":0}
         */

        private int id;
        private String order_sn;
        private int user_id;
        private int original_price;
        private int studio_id;
        private int paid_price;
        private String paid_at;
        private int coach_user_id;
        private int state;
        private String created_at;
        private int divided_amount;
        private int divided_state;
        private String divided_time;
        private BuyerUserBean buyer_user;
        private SellerUserBean seller_user;
        private StudioInfoBean studio_info;
        private String order_img;
        private int balance;
        private int virtual_coin;
        private String pay_type;
        private int order_type;

        public StudioInfoBean getStudio_info() {
            return studio_info;
        }

        public int getOrder_type() {
            return order_type;
        }

        public String getPay_type() {
            return pay_type;
        }

        public int getBalance() {
            return balance;
        }
        public void setBalance(int balance) {
            this.balance = balance;
        }
        public int getVirtual_coin() {
            return virtual_coin;
        }


        public String getOrder_img() {
            return order_img;
        }

        private CourseInfoBean  course_info;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getOrder_sn() {
            return order_sn;
        }

        public void setOrder_sn(String order_sn) {
            this.order_sn = order_sn;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public int getOriginal_price() {
            return original_price;
        }

        public void setOriginal_price(int original_price) {
            this.original_price = original_price;
        }

        public int getStudio_id() {
            return studio_id;
        }

        public void setStudio_id(int studio_id) {
            this.studio_id = studio_id;
        }

        public int getPaid_price() {
            return paid_price;
        }

        public void setPaid_price(int paid_price) {
            this.paid_price = paid_price;
        }

        public String getPaid_at() {
            return paid_at;
        }

        public void setPaid_at(String paid_at) {
            this.paid_at = paid_at;
        }

        public int getCoach_user_id() {
            return coach_user_id;
        }

        public void setCoach_user_id(int coach_user_id) {
            this.coach_user_id = coach_user_id;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public int getDivided_amount() {
            return divided_amount;
        }

        public void setDivided_amount(int divided_amount) {
            this.divided_amount = divided_amount;
        }

        public int getDivided_state() {
            return divided_state;
        }

        public void setDivided_state(int divided_state) {
            this.divided_state = divided_state;
        }

        public String getDivided_time() {
            return divided_time;
        }

        public void setDivided_time(String divided_time) {
            this.divided_time = divided_time;
        }

        public BuyerUserBean getBuyer_user() {
            return buyer_user;
        }

        public void setBuyer_user(BuyerUserBean buyer_user) {
            this.buyer_user = buyer_user;
        }

        public SellerUserBean getSeller_user() {
            return seller_user;
        }

        public void setSeller_user(SellerUserBean seller_user) {
            this.seller_user = seller_user;
        }

        public CourseInfoBean getCourse_info() {
            return course_info;
        }

        public void setCourse_info(CourseInfoBean course_info) {
            this.course_info = course_info;
        }

        public static class BuyerUserBean {
            /**
             * id : 44
             * user_name : 15632279690
             * nick_name : 15632279690
             * wx_openid : oBW2t6P_lncrxmVleAwRo3gfAv6U
             * wx_unionid :
             * mobile : 15632279690
             * avatar : http://dummyimage.com/100x100
             * description :
             * sex : 0
             * height : 0
             * borthday :
             * constellation :
             * education :
             * address :
             * career :
             * level : 0
             * state : 0
             * status : 0
             */

            private int id;
            private String user_name;
            private String nick_name;
            private String wx_openid;
            private String wx_unionid;
            private String mobile;
            private String avatar;
            private String description;
            private int sex;
            private int height;
            private String borthday;
            private String constellation;
            private String education;
            private String address;
            private String career;
            private int level;
            private int state;
            private int status;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getUser_name() {
                return user_name;
            }

            public void setUser_name(String user_name) {
                this.user_name = user_name;
            }

            public String getNick_name() {
                return nick_name;
            }

            public void setNick_name(String nick_name) {
                this.nick_name = nick_name;
            }

            public String getWx_openid() {
                return wx_openid;
            }

            public void setWx_openid(String wx_openid) {
                this.wx_openid = wx_openid;
            }

            public String getWx_unionid() {
                return wx_unionid;
            }

            public void setWx_unionid(String wx_unionid) {
                this.wx_unionid = wx_unionid;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public int getSex() {
                return sex;
            }

            public void setSex(int sex) {
                this.sex = sex;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }

            public String getBorthday() {
                return borthday;
            }

            public void setBorthday(String borthday) {
                this.borthday = borthday;
            }

            public String getConstellation() {
                return constellation;
            }

            public void setConstellation(String constellation) {
                this.constellation = constellation;
            }

            public String getEducation() {
                return education;
            }

            public void setEducation(String education) {
                this.education = education;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getCareer() {
                return career;
            }

            public void setCareer(String career) {
                this.career = career;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }
        }

        public static class SellerUserBean {
            /**
             * id : 49
             * user_name : 15632279691
             * nick_name : 15632279691
             * wx_openid : oBW2t6P_lncrxmVleAwRo3gfAv6U
             * wx_unionid :
             * mobile : 15632279691
             * avatar : http://dummyimage.com/100x100
             * description :
             * sex : 0
             * height : 0
             * borthday :
             * constellation :
             * education :
             * address :
             * career :
             * level : 0
             * state : 0
             * status : 0
             */

            private int id;
            private String user_name;
            private String nick_name;
            private String wx_openid;
            private String wx_unionid;
            private String mobile;
            private String avatar;
            private String description;
            private int sex;
            private int height;
            private String borthday;
            private String constellation;
            private String education;
            private String address;
            private String career;
            private int level;
            private int state;
            private int status;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getUser_name() {
                return user_name;
            }

            public void setUser_name(String user_name) {
                this.user_name = user_name;
            }

            public String getNick_name() {
                return nick_name;
            }

            public void setNick_name(String nick_name) {
                this.nick_name = nick_name;
            }

            public String getWx_openid() {
                return wx_openid;
            }

            public void setWx_openid(String wx_openid) {
                this.wx_openid = wx_openid;
            }

            public String getWx_unionid() {
                return wx_unionid;
            }

            public void setWx_unionid(String wx_unionid) {
                this.wx_unionid = wx_unionid;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public int getSex() {
                return sex;
            }

            public void setSex(int sex) {
                this.sex = sex;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }

            public String getBorthday() {
                return borthday;
            }

            public void setBorthday(String borthday) {
                this.borthday = borthday;
            }

            public String getConstellation() {
                return constellation;
            }

            public void setConstellation(String constellation) {
                this.constellation = constellation;
            }

            public String getEducation() {
                return education;
            }

            public void setEducation(String education) {
                this.education = education;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getCareer() {
                return career;
            }

            public void setCareer(String career) {
                this.career = career;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }
        }

        public static class CourseInfoBean{
            private int id;
            private int user_id;
            private int studio_id;
            private int duration;
            private int price;
            private int max_quantity;
            private int pay_num;
            private int tag_lv1_id;
            private String course_name;
            private String description;
            private int type;
            private int state;
            private int status;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public int getStudio_id() {
                return studio_id;
            }

            public void setStudio_id(int studio_id) {
                this.studio_id = studio_id;
            }

            public int getDuration() {
                return duration;
            }

            public void setDuration(int duration) {
                this.duration = duration;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public int getMax_quantity() {
                return max_quantity;
            }

            public void setMax_quantity(int max_quantity) {
                this.max_quantity = max_quantity;
            }

            public int getPay_num() {
                return pay_num;
            }

            public void setPay_num(int pay_num) {
                this.pay_num = pay_num;
            }

            public int getTag_lv1_id() {
                return tag_lv1_id;
            }

            public void setTag_lv1_id(int tag_lv1_id) {
                this.tag_lv1_id = tag_lv1_id;
            }

            public String getCourse_name() {
                return course_name;
            }

            public void setCourse_name(String course_name) {
                this.course_name = course_name;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

        }

        public static class StudioInfoBean{
            private int id;
            private int follow;
            private int user_id;
            private String nick_name;
            private String title;
            private String description;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getFollow() {
                return follow;
            }

            public void setFollow(int follow) {
                this.follow = follow;
            }

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public String getNick_name() {
                return nick_name;
            }

            public void setNick_name(String nick_name) {
                this.nick_name = nick_name;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }
        }

    }
}
